import { Spin } from "antd";
import "./Loading.less";

const contentStyle: React.CSSProperties = {
  padding: 50,
  background: "rgba(0, 0, 0, 0.05)",
  borderRadius: 4,
};

const content = <div style={contentStyle} />;

function Loading() {
  return (
    <Spin
      size="large"
      tip="加载中..."
    >
      {content}
    </Spin>
  );
}

export default Loading;
